<div>
    <div id="chooseEnterCommunityModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel"
        aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <h3 class="modal-title" id="addPrivilegeModalLabel">
                        <vc:i18n name="切换小区" namespace="chooseEnterCommunity"></vc:i18n>
                    </h3>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <p style="color: red;">{{navCommunityInfo.errorInfo}}</p>
                    <div class="ibox ">
                        <div class="row">
                            <div class="col-sm-7 m-b-xs">
                            </div>
                            <div class="col-sm-5">
                                <div class="input-group">
                                    <input :placeholder="vc.i18n('输入小区名称','chooseEnterCommunity')"
                                        v-model="navCommunityInfo.searchCommunityName" type="text"
                                        class="form-control form-control-sm">
                                    <span class="input-group-append">
                                        <button type="button" class="btn btn-sm btn-primary"
                                            v-on:click="_queryEnterCommunity()">
                                                <vc:i18n name="查询" namespace="chooseEnterCommunity"></vc:i18n>
                                        </button>
                                    </span>
                                </div>
                            </div>
                        </div>
                        <div class="table-responsive" style="margin-top:15px">
                            <table class="table table-striped">
                                <thead>
                                    <tr>
                                        <th class="text-center">
                                            <vc:i18n name="小区ID" namespace="chooseEnterCommunity"></vc:i18n>
                                        </th>
                                        <th data-hide="phone" class="text-center">
                                            <vc:i18n name="名称" namespace="chooseEnterCommunity"></vc:i18n>
                                        </th>
                                        <th class="text-center">
                                            <vc:i18n name="操作" namespace="chooseEnterCommunity"></vc:i18n>
                                        </th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr v-for="community in navCommunityInfo.communityInfo">
                                        <td class="text-center">
                                            {{community.communityId}}
                                        </td>
                                        <td class="text-center">
                                            {{community.name}}
                                        </td>
                                        <td class="text-center">
                                            <div class="btn-group">
                                                <button class="btn-white btn btn-xs"
                                                    @click="_chooseCurrentCommunity(community)"><span>
                                                        <vc:i18n name="选择" namespace="chooseEnterCommunity"></vc:i18n>
                                                    </span>
                                                </button>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <vc:create path="frame/paginationPlus" namespace="chooseEnterCommunity"></vc:create>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <vc:create path="common/document"></vc:create>
    <vc:create path="property/roomTree"></vc:create>
    <vc:create path="frame/viewMenuUser"></vc:create>
    <vc:create path="frame/viewData"></vc:create>
    <vc:create path="frame/searchCommunityData"></vc:create>

</div>